package com.utf999.qiangmanger.service.impl.redis;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.stereotype.Component;

import com.utf999.qiangmanger.service.iface.redis.IRedisCacheService;


@Component("RedisCacheServiceImpl")
public class RedisCacheServiceImpl<K , V> implements IRedisCacheService<K, V> {
	
	@Autowired
	private RedisTemplate<K, V> redisTemplate;

	public RedisTemplate<K, V> getRedisTemplate() {
		return redisTemplate;
	}

	public void setRedisTemplate(RedisTemplate<K, V> redisTemplate) {
		this.redisTemplate = redisTemplate;
	}
}